export const mysqlConfig = {
  development: {
    type: 'mysql',
    host: '106.15.50.50',
    port: 3306,
    username: 'zhdx',
    password: 'tecdcpwf33LWCyCH',
    database: 'zhdx',
    entities: [__dirname + '/../**/*.entity{.ts,.js}'],
    synchronize: false,
    debug: false,
    extra: {
      connectionLimit: 2, // 连接池最大连接数量, 查阅资料 建议是  core number  * 2 + n
    },
  },
  production: {
    type: 'mysql',
    host: '106.15.50.50',
    port: 3306,
    username: 'zhdx',
    password: 'tecdcpwf33LWCyCH',
    database: 'zhdx',
    entities: [__dirname + '/../**/*.entity{.ts,.js}'],
    synchronize: false,
    debug: false,
    extra: {
      connectionLimit: 2, // 连接池最大连接数量, 查阅资料 建议是  core number  * 2 + n
    },
  },
};
